<div id="pages">
	<span class="total">共${pagination.totalPages}页</span>
[#if pagination.firstPage]
	<span class="disabled"> |<  首页</span><span class="disabled"> <  上一页</span>[#t/]
[#else]
	<a href="${pageLink}${pageSuffix}"> |<  首页</a>
	<a href="${pageLink}[#if pagination.prePage gt 1]_${pagination.prePage}[/#if]${pageSuffix}"> <  上一页</a>
[/#if]
[#if pageNo-5 gt 1]
	[#if pagination.totalPages gt pageNo+4]
		[#list pageNo-5..pageNo+4 as i]
			[#if i = pageNo]
				<span class="current">${i}</span>
			[#else]
				<a href="${pageLink}[#if i gt 1]_${i}[/#if]${pageSuffix}">${i}</a>
			[/#if]
		[/#list]
	[#else]
		[#list 1..pagination.totalPages as i]
			[#if i = pageNo]
				<span class="current">${i}</span>
			[#else]
				<a href="${pageLink}[#if i gt 1]_${i}[/#if]${pageSuffix}">${i}</a>
			[/#if]
		[/#list]
	[/#if]
[#else]
	[#if pagination.totalPages gt 10]
		[#list 1..10 as i]
			[#if i = pageNo]
				<span class="current">${i}</span>
			[#else]
				<a href="${pageLink}[#if i gt 1]_${i}[/#if]${pageSuffix}">${i}</a>
			[/#if]
		[/#list]
	[#else]
		[#list 1..pagination.totalPages as i]
			[#if i = pageNo]
				<span class="current">${i}</span>
			[#else]
				<a href="${pageLink}[#if i gt 1]_${i}[/#if]${pageSuffix}">${i}</a>
			[/#if]
		[/#list]
	[/#if]
[/#if]
[#if pagination.lastPage]	
	<span class="disabled"> 下一页  ></span><span class="disabled"> 尾页  >|</span>
[#else]
	<a href="${pageLink}_${pagination.nextPage}${pageSuffix}">下一页  > </a>
	<a href="${pageLink}_${pagination.totalPages}${pageSuffix}">尾页  >| </a>
[/#if]
</div>